﻿using UnityEngine;
using System.Collections;

public class Mute : MonoBehaviour {

public PlayerStorage Main;

	
	public void muteSound()
	{
		switch (Main.Sound)
		{
			case 0:
			{
				Main.Sound = 1;
				break;
			}
			case 1:
			{
				Main.Sound = 0;
				break;
			}
		
		}
		Main.SetValues();
	}
}
